SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO
CREATE VIEW dbo.vweAgentesConEstimulo
AS
SELECT     idEstimulo AS ID, Agente, Porcentaje
FROM         dbo.tb_AgentesConEstimulo
GO
GRANT SELECT ON  [dbo].[vweAgentesConEstimulo] TO [PersonalDocente]
GRANT INSERT ON  [dbo].[vweAgentesConEstimulo] TO [PersonalDocente]
GRANT DELETE ON  [dbo].[vweAgentesConEstimulo] TO [PersonalDocente]
GRANT UPDATE ON  [dbo].[vweAgentesConEstimulo] TO [PersonalDocente]
GRANT SELECT ON  [dbo].[vweAgentesConEstimulo] TO [SoloVer]
GRANT SELECT ON  [dbo].[vweAgentesConEstimulo] TO [Subsidios]
GRANT INSERT ON  [dbo].[vweAgentesConEstimulo] TO [Subsidios]
GRANT DELETE ON  [dbo].[vweAgentesConEstimulo] TO [Subsidios]
GRANT UPDATE ON  [dbo].[vweAgentesConEstimulo] TO [Subsidios]
GRANT SELECT ON  [dbo].[vweAgentesConEstimulo] TO [SubsidiosConsulta]
GO
